$("#start_date").datepicker({dateFormat: 'dd-mm-yy'});

$("#end_date").datepicker({
	dateFormat: 'dd-mm-yy',
	onSelect: function(dateText, inst) 
	{
		start_date = $("#start_date").val();
		end_date = $("#end_date").val();
		window.location.href = urlFilter + "filter/type/dateBetween/start_date/" + start_date + "/end_date/" + end_date;
	}
});